Repository navigation
fix(tier3): harden detached Gym cleanup against signals and inspection errors - #602
Merged
chrisknvidia merged 7 commits intoNov 15, 2026
Merged
Conversation
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 15, 2026 04:30
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
chrisknvidia
deleted the
fix/christopherk/nemo-gym-detached-cleanup-signals
branch
November 15, 2026 05:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Harden run-owned detached NeMo Gym cleanup after the startup-cleanup fix merged in #591.
Based on current main
0fbd41edbba1cfd13b566b11f04b172deb4887c1; no changes to the merged #591 branch were pushed after its merge.Verification
Regression tests failed before the fixes: SIGTERM/SIGHUP terminated the cleanup subprocess with return codes -15/-1 before its completion marker; inspection failure replaced KeyboardInterrupt with GymCleanupError; a Linux subreaper retained its terminated adopted server until the test reaped it.
From this branch, with
PYTHONPATH=src:The six warnings are existing Click deprecations. Evidence:
~/qual/artifacts/nemo-gym-detached-cleanup-signals.tests.txt.No new provider-backed live evaluation or full-suite run was performed for this follow-up. Regression coverage includes real POSIX signal delivery and a real Linux subreaper; existing tests cover detached listening-server cleanup and unrelated-process preservation. No user-facing UI changed.
make lintmake testmake buildRelease Impact
CHANGELOG.md🟢 Devin Review found nothing to fix · View findings · Follow Devin's work